TEMPLATE = lib
TARGET = TcpEngine
QT += qml quick concurrent
CONFIG += plugin c++14

DEFINES += PANGUPLUGIN_LIBRARY

TARGET = $$qtLibraryTarget($$TARGET)
#uri = com.mycompany.qmlcomponents
uri = TcpEngine

# Input
SOURCES += \
    FileHandler.cpp \
        tcpengine_plugin.cpp \


HEADERS += \
    FileHandler.h \
        tcpengine_plugin.h \

INCLUDEPATH += \
    $$PWD/../include

DESTDIR += \
    $$PWD/../lib/

DLLDESTDIR += \
    $$PWD/../bin/


LIBS += \
    $$PWD/../lib/libTcpManager.a    \
    $$PWD/../lib/libserializeLib.a  \
    $$PWD/../lib/libFileManager.a    \
    $$PWD/../lib/libprotobuf.a

DISTFILES = qmldir

# 拷贝到Makefile路径下面
TARGET += qmldir

RESOURCES += \
    TcpEngine.qrc

